#pragma once
#include "jdksmidi/world.h"
#include "jdksmidi/track.h"
#include "jdksmidi/multitrack.h"
#include "jdksmidi/filereadmultitrack.h"
#include "jdksmidi/fileread.h"
#include "jdksmidi/fileshow.h"
#include "jdksmidi/sequencer.h"
#include "jdksmidi/manager.h"
#include "jdksmidi/driver.h"
#include "jdksmidi/driverwin32.h"
using namespace jdksmidi;
class MidiPlayer
{
public:
	MidiPlayer(char * filePath);
	~MidiPlayer(void);

	void play();
	char *filePath;

	MIDIFileReadStreamFile *rs;
	MIDIMultiTrack *tracks;
	MIDIFileReadMultiTrack* track_loader;
	MIDIFileRead* reader;
	MIDISequencerGUIEventNotifierText* gui;
	MIDISequencer* seq;
	MIDIDriverWin32* driver;
	MIDIManager* mgr;
};
